package com.lcf.app.knife4jopenapi3.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author ChenFei
 * @date 2021/11/3
 */
@Data
@Schema(description = "用户模型")
public class User {

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "昵称")
    private String nikeName;

    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "生日")
    private LocalDateTime birthday;

    @Schema(description = "体重")
    private Double weight;

}
